.shujizongti {
    width: 80%;
    margin: auto;
    margin-top: 50px;
    display: flex;
}

#nav1 ul.fenlei {
    width: 130px;
    background-color: aqua;
}

#nav1 .fenlei .leixing .biaoqian {
    position: relative;
    border: none;
    outline: none;
    color: white;
    display: inline-block;
    text-decoration: none;
    text-align: center;
    z-index: 3;
}

.leixing:hover {
    transform: none;
}

a.biaoqian {
    width: 130px;
    padding: 0;
}

li.leixing {
    width: 100%;
    margin: 0;
}

.slide-one,
.slide-two {
    position: absolute;
    display: inline-block;
    height: 50px;
    border-radius: 50px;
    transition: all 1s cubic-bezier(0.23, 1, 0.32, 1.05);
    margin: 0;
}

.slide-one {
    background-color: #39C5BB;
    margin-top: 7px;
    z-index: 2;
}

.slide-two {
    background-color: #39C5BB 0.5;
    opacity: 0;
    z-index: 1;
    box-shadow: 0 0 20px #ffffffaa inset;
}

.squeeze {
    transform: scale(0.9);
}

p.type {
    width: 100%;
    margin: 20px 0;
}

p#variety {
    font-size: 30px;
    padding-left: 5px;
}

.books {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    margin-top: 40px;
    margin-left: 20px;
}

.bookcontainer {
    width: 100%;
    height: 300px;
    margin-bottom: 50px;
    border-bottom: 2px lawngreen solid;
    overflow: hidden;
    text-overflow: ellipsis;
}

a.bookname {
    width: 280px;
    height: 300px;
}

.cover {
    width: 240px;
    height: 100%;
}

.cover:hover {
    transform: scale(0.9);
    transition: 0.75s;
}

.zhengwen {
    width: 70%;
    height: 300px;
    position: relative;
    left: 260px;
    top: -300px;
}

.highlight-text,
.span.one,
.span.two,
.span.three {
    position: relative;
    bottom: -10px;
    margin: 10px 20px 10px 20px;
    color: #939490;
}

.p.four {
    width: 100%;
    height: 185px;
    position: relative;
    text-align: justify;
    text-indent: 2em;
    letter-spacing: 5px;
    overflow: hidden;
    text-overflow: ellipsis;
    bottom: -25px;
    color: #939490;
    display: -webkit-box;
    -webkit-line-clamp: 9;
    -webkit-box-orient: vertical;
}

.pagination {
    width: 100%;
    height: 30px;
    display: flex;
    justify-content: center;

}

.pagination button {
    position: relative;
    border: none;
    background-color: rgb(219, 219, 33);
    color: rgb(255, 255, 255);
    cursor: pointer;
    font-size: 14px;
    min-width: 32px;
    height: 32px;
    line-height: 32px;
    margin: auto;
}

span#pageInfo {
    width: 200px;
    position: relative;
    text-align: center;
}

.pagination button:disabled {
    position: relative;
    background-color: #ccc;
    color: #666;
    cursor: not-allowed;
}

@media screen and (min-width:320px) and (max-width:480px) {
    .shujizongti {
        width: 100%;
        margin: auto;
        display: flex;
    }
    
    #nav1 ul.fenlei {
        width: 80px;
        background-color: aqua;
    }
    
    #nav1 .fenlei .leixing .biaoqian {
        font-size: 12px;
    }
    
    .leixing:hover {
        transform: none;
    }
    
    a.biaoqian {
        width: 80px;
        padding: 0;
    }
    
    li.leixing {
        width: 100%;
        margin: 0;
    }
    
    .slide-one,
    .slide-two {
        position: absolute;
        display: inline-block;
        height: 25px;
        border-radius: 50px;
        transition: all 1s cubic-bezier(0.23, 1, 0.32, 1.05);
        margin: 0 0 1px 0;
    }
    
    .slide-one {
        background-color: #39C5BB;
        margin-top: 7px;
        z-index: 2;
    }
    
    .slide-two {
        background-color: #39C5BB 0.5;
        opacity: 0;
        z-index: 1;
        box-shadow: 0 0 20px #ffffffaa inset;
    }
    
    .squeeze {
        transform: scale(0.9);
    }
    
    p.type {
        width: 100%;
        margin: 10px 0;
    }
    
    p#variety {
        font-size: 30px;
        padding-left: 5px;
    }
    
    .books {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
    }
    
    .bookcontainer {
        width: 290px;
        height: 233px;
        margin-left: -20px;
        margin-bottom: 0;
        border-bottom: 2px lawngreen solid;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    a.bookname {
        width: 80px;
        height: 150px;
    }
    h3 {width: 190px;
        font-size: 12px;
    }
    .cover {
        width: 100px;
        height: 100%;
        margin-top: 10px;
    }
    
    .cover:hover {
        transform: scale(0.9);
        transition: 0.75s;
    }
    
    .zhengwen {
        width: 100%;
        height: 300px;
        position: relative;
        left: 100px;
        top: -165px;
    }
    
    .highlight-text,
    .span.one,
    .span.two,
    .span.three {
        display: flex;
        position: relative;
        bottom: -10px;
        margin: 0;
        font-size: 12px;
        color: #939490;
    }
    
    .p.four {
        font-size: 12px;
        width: 190px;
        height: 130px;
        position: relative;
        text-align: justify;
        text-indent: 2em;
        letter-spacing: 5px;
        overflow: hidden;
        top: 7px;
        text-overflow: ellipsis;
        color: #939490;
        display: -webkit-box;
        -webkit-line-clamp: 7;
        -webkit-box-orient: vertical;
    }
    
    .pagination {
        font-size: 12px;
        width: 220px;
        height: 30px;
        display: flex;
        justify-content: center;
    
    }
    
    .pagination button {
        position: relative;
        border: none;
        background-color: rgb(219, 219, 33);
        color: rgb(255, 255, 255);
        cursor: pointer;
        min-width: 32px;
        height: 32px;
        line-height: 32px;
        font-size: 12px;
    }
    
    span#pageInfo {
        width: 120px;
        position: relative;
        text-align: center;
    }
    
    .pagination button:disabled {
        position: relative;
        background-color: #ccc;
        color: #666;
        cursor: not-allowed;
    }
    .bookcontaniner {
        width: 150px;
        height: 50px;
    }
    .cover {
        width: 100px;
        height: 150px;
    }
    
}